
public class Constante extends Ident {

	public static final int VRAI_ASM = -1;
	public static final int FAUX_ASM = 0;
	
	int valeur;
	
	public Constante(int type) {
		super(type);
	}
	
	public Constante(int type, int valeur) {
		super(type);
		this.valeur = valeur;
	}
	
	public String toString() {
		return "CONSTANTE " + typeToString(type);
	}
	
	public int getNature() {
		return Ident.CONSTANTE;
	}
	
	public int getValeur() {
		return valeur;
	}
}
